package com.ibiaoke.goods.mapper;

import com.ibiaoke.goods.entity.PtGoods;
import com.ibiaoke.goods.entity.PtGoodsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PtGoodsMapper {
    long countByExample(PtGoodsExample example);

    int deleteByExample(PtGoodsExample example);

    int deleteByPrimaryKey(Integer ptGoodsId);

    int insert(PtGoods record);

    int insertSelective(PtGoods record);

    List<PtGoods> selectByExampleWithBLOBs(PtGoodsExample example);

    List<PtGoods> selectByExample(PtGoodsExample example);

    PtGoods selectByPrimaryKey(Integer ptGoodsId);

    int updateByExampleSelective(@Param("record") PtGoods record, @Param("example") PtGoodsExample example);

    int updateByExampleWithBLOBs(@Param("record") PtGoods record, @Param("example") PtGoodsExample example);

    int updateByExample(@Param("record") PtGoods record, @Param("example") PtGoodsExample example);

    int updateByPrimaryKeySelective(PtGoods record);

    int updateByPrimaryKeyWithBLOBs(PtGoods record);

    int updateByPrimaryKey(PtGoods record);
}